package model.kml;

public class Kml {
	
	private Document document;
	
	public Kml(){}
	
	public void addDocument(Document doc){
		this.document = doc;
	}
	
	public Document getDocument(){
		return this.document;
	}
	
	@Override
	public String toString(){
		return "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"+
			   "<kml xmlns=\"http://www.opengis.net/kml/2.2\">\n"+
			   this.document.toString() +
			   "</kml>";
	}

}
